<MContainer Fluid>
    <MRow Align="@AlignTypes.Center">
        <MCol Cols="6">
            <MSelect Items="_items"
                     @bind-Value="@value1"
                     ItemText="u => u.Label"
                     ItemValue="u => u.Value"
                     Label="Standard"
                     Dense></MSelect>
        </MCol>

        <MCol Cols="6">
            <MSelect Items="_items"
                     @bind-Value="@value2"
                     ItemText="u => u.Label"
                     ItemValue="u => u.Value"
                     Filled
                     Label="Filled style"
                     Dense></MSelect>
        </MCol>

        <MCol Cols="6">
            <MSelect Items="_items"
                     @bind-Value="@value3"
                     ItemText="u => u.Label"
                     ItemValue="u => u.Value"
                     Label="Outlined style"
                     Dense
                     Outlined></MSelect>
        </MCol>

        <MCol Cols="6">
            <MSelect Items="_items"
                     @bind-Value="@value4"
                     ItemText="u => u.Label"
                     ItemValue="u => u.Value"
                     Label="Solo field"
                     Dense
                     Solo></MSelect>
        </MCol>
    </MRow>
</MContainer>

@code {
    private string value1;
    private string value2;
    private string value3;
    private string value4;

    public class Item
    {
        public string Label { get; set; }
        public string Value { get; set; }
        public Item(string label, string value)
        {
            Label = label;
            Value = value;
        }
    }

    List<Item> _items = new()
        {
            new Item("Foo", "1"),
            new Item("Bar", "2"),
            new Item("Fizz", "3"),
            new Item("Buzz", "4"),
        };
}